public class javaTeacher extends staff{
    @Override
    public void work() {
        System.out.println(getName()+"讲Java课");
    }
}
